#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "GLSLsyntaxhighlighter.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
protected:
    bool eventFilter(QObject *watched, QEvent *event);
private slots:
    void startPlay();
    void stopPlay();
    void toggleFullScreen();
    void toggleEditor(bool);
    void openGLSLScript();
    void loadExampleScript();
private:
    Ui::MainWindow *ui;
    Qt::WindowState screenState = Qt::WindowNoState;
    GLSLSyntaxHighlighter* highlighter;
};
#endif // MAINWINDOW_H
